<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>基本类型的一些方法</title>
</head>

<body>
    <div>q ewq232w</div>
</body>
<script>
    console.log('houdunren'.toUpperCase());
    console.log('WHWWHW'.toLowerCase());

    let name = '  houdunren    ';
    console.log(name.length);
    console.log(name.trim().length);
    console.log(name.trimLeft().length);
    console.log(name.trimRight().length);
</script>

</html>